package cn.hxzy.commonUser.service;

import cn.hxzy.entity.userEntity.BankAccount;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ao.Li
 * @since 2023-06-23
 */
public interface BankAccountService extends IService<BankAccount> {

    /**
     * 判断用户密码以及余额
     * @param userId
     *
     * @return
     */
    Boolean selectBankByUserId(String userId,int pwd, Double money);

    /**
     * 修改支付密码
     * @param userId
     * @param oldPwd
     * @param newPwd
     * @return
     */
    Boolean updatePayPwdById(String userId, int oldPwd, int newPwd);
}
